git.asbjorn.biz
/
rapper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9283eb
)
Add clean target to Makefile
author
Peter Stuge
<peter@stuge.se>
Thu, 4 Nov 2010 20:40:14 +0000
(21:40 +0100)
committer
Peter Stuge
<peter@stuge.se>
Thu, 4 Nov 2010 20:40:14 +0000
(21:40 +0100)
lpc176x/Makefile
patch
|
blob
|
history
diff --git
a/lpc176x/Makefile
b/lpc176x/Makefile
index
10c24a4
..
fe29076
100644
(file)
--- a/
lpc176x/Makefile
+++ b/
lpc176x/Makefile
@@
-11,9
+11,10
@@
OBJDUMP=$(CROSS_COMPILE)-objdump
LDFLAGS=-nostdlib
ALL=main
+OBJS=main.o sysinit.o
-main: main.o sysinit.o
-main.o: main.c
-sysinit.o: sysinit.c
-
+$(ALL): $(OBJS)
+.PHONY: clean
+clean:
+ rm -f $(ALL) $(OBJS)